package cn.hiapi.shop.query;

import cn.hiapi.basic.jpa.pageable.QueryWrapper;
import cn.hiapi.basic.jpa.query.BasicQuery;
import cn.hiapi.shopkeeper.consts.AppConst;
import lombok.Getter;
import lombok.Setter;

/**
 * @author AdinZ
 * @date 2023/2/17 23:23
 */
@Setter
@Getter
public class ShopBankQuery extends BasicQuery {
    private long shopId;

    @Override
    public QueryWrapper getQueryWrapper() {
        return super.getBasicQueryWrapper().eq("fid", shopId).eq("fidType", AppConst.FID_TYPE_SHOP);
    }
}
